package com.kws.commercial.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kws.commercial.dao.CommercialWorkOrderManagement;
import com.kws.commercial.dao.Info.QueryWorkOrderInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CommercialWorkOrderMapper extends BaseMapper<CommercialWorkOrderManagement> {
    List<QueryWorkOrderInfo> queryWorkOrderPage(@Param("workOrderNo") String workOrderNo,@Param("priority") String priority,@Param("serviceType") String serviceType,@Param("companyId") Long companyId);

    QueryWorkOrderInfo queryWorkOrderById(@Param("id") Long id);
}
